home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 1678 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.4 KB

  1. Path: news.ox.ac.uk!news
  2. From: Nick Christie <nick.christie@oucs.ox.ac.uk>
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: Raw key -> Vanilla key
  5. Date: 22 Jan 1996 14:58:31 GMT
  6. Organization: Oxford University Computing Services
  7. Message-ID: <4e08mn$bf0@news.ox.ac.uk>
  8. References: <590.6593T272T2384@norconnect.no>
  9. NNTP-Posting-Host: nick.oucs.ox.ac.uk
  10. Mime-Version: 1.0
  11. Content-Type: text/plain; charset=us-ascii
  12. Content-Transfer-Encoding: 7bit
  13. X-Mailer: Mozilla 1.2N (Windows; I; 16bit)
  14.  
  15. kenneth@norconnect.no (Kenneth C. Nilsen) wrote:
  16. >Does someone know how to convert a rawkey to vanilla key (OS friendly).
  17.  
  18. I don't know if this is entirely applicable to your situation but
  19. if you specify both IDCMP_VANILLAKEYS and IDCMP_RAWKEYS for your
  20. window, you will get vanillakey msgs for those keys that can be
  21. encoded that way (eg A-Z, 0-9, etc) and rawkey msgs for other keys
  22. (eg. HELP, CrsrUp, etc). This is true for V37+ of the OS.
  23.  
  24. If you can only get rawkeys, you have to use that function
  25. in the console device, I think.
  26.  
  27. Nick
  28. +------------------------------------------------------------------------+
  29. | Nick Christie, IT Support,      <mailto://nick.christie@oucs.ox.ac.uk> |
  30. | Oxford University Computing Services,    <http://sable.ox.ac.uk/~nick> |
  31. | 13 Banbury Road, Oxford OX2 6NN.        Opinions expressed are my own. |
  32. +------------------------------------------------------------------------+
  33.  
  34.  
  35.